package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Permission;
import cn.wolfcode.rbac.domain.Role;
import cn.wolfcode.rbac.query.PageResult;
import cn.wolfcode.rbac.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    public abstract PageInfo query(QueryObject qo);

    public abstract void saveOrUpdate(Permission paramPermission);

    public abstract void delete(Long paramLong);

    public abstract Permission get(Long id);

    public abstract List<Permission> list();

    public abstract void load();

    public abstract List<String> selectByEmpId(Long paramLong);
}
